<template>
  <div id="app">
    <audio :src="bgWav" ref='video' type='audio/mp3'></audio>
    <router-view/>
  </div>
</template>
<script>
export default {
  data: () => ({
    bgWav: require('@/assets/wav/bg.mp3'),
  }),
  mounted() {
    window.GlobalMp3 = this.$refs.video
  }
}
</script>
<style lang="scss">
html,body,#app{
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
} 
</style>
